package com.yjc.drygoods.order.dao;

import com.yjc.common.vo.ConsumeAttentionCountRelationVo;
import com.yjc.drygoods.order.entity.OrderEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 订单
 *
 * @author yjc
 * @email yjc19979401754@126.com
 * @date 2022-08-19 23:20:12
 */
@Mapper
public interface OrderDao extends BaseMapper<OrderEntity> {

    void updateOrderStatus(@Param("out_trade_no") String out_trade_no, @Param("code") Integer code);

    List<ConsumeAttentionCountRelationVo> selectEveryoneConsumeTotal(@Param("memberIds") List<Long> memberIds);
}
